static int[] menu_language = 
{
	TEXT.MENU_LANGUAGE,
	TEXT.MENU_LANG_EN,
	TEXT.MENU_LANG_VN,
	// TEXT.MENU_BACK,
};
static void Update_LangMenu_Selected()
{
	switch(_menu_item_selected)
	{
		case TEXT.MENU_LANG_EN:
			if(_languageCurrent != 0)
			{
				LoadPack("/EN");
				_languageCurrent = 0;
			}
			break;
		case TEXT.MENU_LANG_VN:
			if(_languageCurrent != 1)
			{
				LoadPack("/VN");
				_languageCurrent = 1;
			}
			break;
		case TEXT.MENU_BACK:
			SwitchState(STATE_MAINMENU);
			break;
		default:
			break;
	}
}
static void Update_LangMenu()
{
	switch(s_iPressedKey)
	{
		case CanvasKeys.NUM2:
		case CanvasKeys.UP:
			if(_menu_item_focused == 0)
				_menu_item_focused = menu_language.length-2;
			else
				_menu_item_focused --;
			break;
		case CanvasKeys.NUM8:
		case CanvasKeys.DOWN:
			if(_menu_item_focused == menu_language.length-2)
				_menu_item_focused = 0;
			else
				_menu_item_focused ++;
			break;
		default:
			break;
	}
	switch(s_iReleasedKey)
	{
		case CanvasKeys.NUM5:
		case CanvasKeys.SELECT:
			_menu_item_selected = menu_language[_menu_item_focused+1];
			Update_LangMenu_Selected();
			break;
		case CanvasKeys.SK_RIGHT:
			if(softkeyRight)
			{
				_menu_item_selected = TEXT.MENU_BACK;
				Update_LangMenu_Selected();
			}
			break;
		default:
			break;
	}
}

static void Paint_LangMenu(Graphics g)
{
	g.drawImage(imgMainMenuBG,0,0,0);
	g.setColor(0, 0, 0);
	g.fillRect(0, 0, s_iWidth, s_iHeight);
	DrawMenu(g, menu_language, true);
	// PaintSoftkey(g);
}

